Skip to main content

stack

Type

object

Summary

The basic LiveCode object: a window.

Syntax

stack

Description

Use the stack object type to display a window, palette, or dialog box.

A stack corresponds to a single window. Each LiveCode file contains one or more stacks. The first stack in a stack file is called the main stack; any other stacks in the stack file are called substacks of the main stack.

Stacks contain one or more cards, and may optionally contain backgrounds.

note

The type of window a stack is displayed in depends on the stack's style property and whether the stack was opened with the go, topLevel, palette, modal, or modeless command.

Examples

go to stack "Help"
put the short name of stack 3 after field "Stacks List"

command: topLevel, go, modal, palette, modeless

function: revLoadedStacks, mouseStack

glossary: stack version, object, property, dialog box, command, object type

keyword: templateStack

object: stack

property: mode, defaultStack, style

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?